poem_str = "登鹳雀楼\t王之涣\t白日依山尽\t\n黄河入海流 \t\t欲穷千里目\n更上一层楼"
print(poem_str)
# 拆分字符串，获得字符串列表
poem_list = poem_str.split()
print(poem_list)

# 合并字符串,用空格与列表各元素拼接
result = " ".join(poem_list)
print(result)
